package entity;

import java.util.Date;

/**
 * @Author czl
 * @Date 2023-11-28
 */
public class Refund {
    private String refundId;	    //退款单ID
    private String ordersId;	    //订单ID
    private double refundMoney;		//退款金额
    private String refundType;	        //退款类型
    private String refundReason;		//退款原因
    private Date refundTime;	    //退款申请时间
    private int refundStatus;	    //退款状态，0表示审核中，未通过，已通过

    public String getRefundId() {
        return refundId;
    }

    public String getOrdersId() {
        return ordersId;
    }

    public double getRefundMoney() {
        return refundMoney;
    }

    public String getRefundType() {
        return refundType;
    }

    public String getRefundReason() {
        return refundReason;
    }

    public Date getRefundTime() {
        return refundTime;
    }

    public int getRefundStatus() {
        return refundStatus;
    }

    public void setRefundId(String refundId) {
        this.refundId = refundId;
    }

    public void setOrdersId(String ordersId) {
        this.ordersId = ordersId;
    }

    public void setRefundMoney(double refundMoney) {
        this.refundMoney = refundMoney;
    }

    public void setRefundType(String refundType) {
        this.refundType = refundType;
    }

    public void setRefundReason(String refundReason) {
        this.refundReason = refundReason;
    }

    public void setRefundTime(Date refundTime) {
        this.refundTime = refundTime;
    }

    public void setRefundStatus(int refundStatus) {
        this.refundStatus = refundStatus;
    }

    public Refund(String refundId, String ordersId, double refundMoney, String refundType, String refundReason, Date refundTime, int refundStatus) {
        this.refundId = refundId;
        this.ordersId = ordersId;
        this.refundMoney = refundMoney;
        this.refundType = refundType;
        this.refundReason = refundReason;
        this.refundTime = refundTime;
        this.refundStatus = refundStatus;
    }

    public Refund() {
    }
}
